package io.gitee.twoke.generator.engine.impl;

import io.gitee.twoke.generator.engine.impl.cfg.GenerateEngineConfigurationImpl;
import io.gitee.twoke.generator.engine.impl.interceptor.CommandExecutor;

public class ServiceImpl {

  protected GenerateEngineConfigurationImpl generateEngineConfiguration;

  public ServiceImpl() {

  }

  public ServiceImpl(GenerateEngineConfigurationImpl processEngineConfiguration) {
    this.generateEngineConfiguration = processEngineConfiguration;
    this.commandExecutor  = processEngineConfiguration.getCommandExecutor();
  }

  protected CommandExecutor commandExecutor;

  public CommandExecutor getCommandExecutor() {
    return commandExecutor;
  }

  public void setCommandExecutor(CommandExecutor commandExecutor) {
    this.commandExecutor = commandExecutor;
  }
}